﻿using System;
using System.Collections.Generic;
using System.Text;
using BBMS.BLL.DataContract;

namespace BBMS.DAL.IDAL
{
    public interface IBank
    {
        void Open(string connString);
        void Close();

        void insertBank(BankData item, string provider);
        void deleteBank(string code);
        void deleteBankByProvider(string provider);
        List<BankData> getAllBank();
        List<BankData> getBankByProvider(string provider);
        BankData getBankByCode(string code);
        BankData getBankByName(string name);
    }
}
